#pragma once

#ifdef _AFXDLL
#define DLL_API _declspec(dllexport)
#else
#define DLL_API _declspec(dllimport)
#endif

#include "..\Contract\Camera.h"
#include <highgui.h>

class DLL_API CVideoFileCam :
    public CCamera
{
public:
    CVideoFileCam(const char* videoFile);
    ~CVideoFileCam(void);

    void Initialize();
    IplImage* CaptureFrame();


private:
    char* pFile;
    CvCapture* pCapturer;
    
};

